Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-257860 | RHEL-09-231095 | SV-257860r958804_rule | Medium |
Description |
---|
The only legitimate location for device files is the "/dev" directory located on the root partition. The only exception to this is chroot jails. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 9 Security Technical Implementation Guide | 2024-06-04 |
Check Text ( C-61601r925565_chk ) |
---|
Verify that the "/boot" mount point has the "nodev" option is with the following command: Note: This control is not applicable to RHEL 9 system booted UEFI. $ sudo mount | grep '\s/boot\s' /dev/sda1 on /boot type xfs (rw,nodev,relatime,seclabel,attr2) If the "/boot" file system does not have the "nodev" option set, this is a finding. |
Fix Text (F-61525r925566_fix) |
---|
Modify "/etc/fstab" to use the "nodev" option on the "/boot" directory. |